package com.accesshollywood.grfxOrdering.orderTreeSpecial.nodes;

import java.awt.dnd.DropTarget;

import javax.swing.JPanel;
import javax.swing.tree.DefaultMutableTreeNode;

import com.accesshollywood.grfxOrdering.orderTreeSpecial.ItemPanel;
import com.accesshollywood.grfxOrdering.orderTreeSpecial.models.ItemTableModel;
import com.accesshollywood.indexables.GrfxOrder;

public class ItemTreeNode extends DefaultMutableTreeNode {
	public ItemTableModel model;
	public ItemPanel subPanel;

	public ItemTreeNode(GrfxOrder grfxOrderGroup) {
		model = new ItemTableModel(grfxOrderGroup);
	}

	public void adjPanel(JPanel panel, ItemTableModel currItems) {
		subPanel = new ItemPanel(currItems);
		panel.add(subPanel);
	}

	
}
